__author__ = 'el_even'

#todo: make a sweeter launcher

from selenium import webdriver
from browsermobproxy import Server
import json
import omnistructure
import path
#import settings


#server = settings.server
#server = Server(path.browsermob)
#profile = settings.profile
#profile = webdriver.FirefoxProfile()
#driver = settings.driver

#server.start()
#proxy = server.create_proxy()

#driver = webdriver.Firefox(firefox_profile=profile, proxy=proxy.selenium_proxy())

mode = 'gated'

steps = {'forum': ['forum', 'forum_flat', 'forum_regged'],
         'gated': ['gated', 'gated_flat', 'gated_regged'],
         'download': ['download', 'download_flat', 'download_regged'],
         'nav': ['nav', 'nav_flat', 'nav_regged'],
         'print': ['print', 'print_flat', 'print_regged'],
         'email': ['email', 'email_flat', 'email_regged'],
         'comment': ['comment', 'comment_flat', 'comment_regged']}


page1 = steps[mode][0]
page2 = steps[mode][1]
page3 = steps[mode][2]

#print page, page2, page3



#proxy.close()
#server.stop()
#driver.quit()
